/**
* @filename:SysMenu 2023-10-22 00:33:19
* @project xxx系统  1.0
* Copyright(c) 2020 fangdy Co. Ltd.
* All right reserved.
*/
package org.fdy.bgadmin.entity;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
* @Description:(sys_menu实体类)
*
* @version: 1.0
* @author: fangdy
*
*/
@Data
@TableName("sys_menu")
public class SysMenu implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(name = "id" , value = "ID")
    private Long id;

    @ApiModelProperty(name = "pid" , value = "上级菜单ID")
    private Long pid;

    @ApiModelProperty(name = "subCount" , value = "子菜单数目")
    private Integer subCount;

    @ApiModelProperty(name = "type" , value = "菜单类型")
    private Integer type;

    @ApiModelProperty(name = "title" , value = "菜单标题")
    private String title;

    @ApiModelProperty(name = "name" , value = "组件名称")
    private String name;

    @ApiModelProperty(name = "component" , value = "组件")
    private String component;

    @ApiModelProperty(name = "menuSort" , value = "排序")
    private Integer menuSort;

    @ApiModelProperty(name = "icon" , value = "图标")
    private String icon;

    @ApiModelProperty(name = "path" , value = "链接地址")
    private String path;

    @ApiModelProperty(name = "iFrame" , value = "是否外链")
    private Boolean iFrame;

    @ApiModelProperty(name = "cache" , value = "缓存")
    private Boolean cache;

    @ApiModelProperty(name = "hidden" , value = "隐藏")
    private Boolean hidden;

    @ApiModelProperty(name = "permission" , value = "权限")
    private String permission;

    @ApiModelProperty(name = "createBy" , value = "创建者")
    private String createBy;

    @ApiModelProperty(name = "updateBy" , value = "更新者")
    private String updateBy;

    @ApiModelProperty(name = "createTime" , value = "创建日期")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime createTime;

    @ApiModelProperty(name = "updateTime" , value = "更新时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime updateTime;

}
